package cn.edu.scau.cmi.mengzhuorong.adapterOfClass;

import java.util.List;

public class SortUtil {

	public List sortInt(List<Integer> intList) {
		int temp;
		for(int i = 0; i < intList.size(); i++) {
			for(int j = i+1; j < intList.size();j++) {
				if(intList.get(i)>intList.get(j)) {
					temp = intList.get(j);
					intList.set(j, intList.get(i));
					intList.set(i, temp);
					
				}
			}
		}
		return intList;
	}
}
